from django.db import models




class Case(models.Model):
    # 案件名称
    objects = None
    case_name = models.CharField(max_length=100)
    # 立案编号
    case_code = models.CharField(max_length=100)
    # 涉案人员
    case_owner = models.CharField(max_length=100)
    # 涉案人员IT_CODE
    case_owner_itcode = models.CharField(max_length=100)
    # 立案时间
    case_establish_time = models.DateTimeField(auto_now_add=True)
    # 立案金额
    case_amount = models.DecimalField(max_digits=10, decimal_places=2,default=None)
    # 数据来源
    data_source = models.CharField(max_length=100)
    # 备注
    case_remark = models.TextField()
    # 更新时间1
    update_tiem = models.DateTimeField(auto_now=True)
